//let baseUrl = 'http://121.37.190.48:9102/gas/uat-api/';
// let baseUrl = 'http://192.168.0.103:8202/dev-api/'
let baseUrl = 'http://10.200.199.55:8080/gas'

const miniProgram = uni.getAccountInfoSync().miniProgram
const envVersion = miniProgram.envVersion

switch (envVersion) {
  case 'develop':
    baseUrl = 'https://www.jabjq.com/gas/uat-api'

    //baseUrl = 'https://www.jabjq.com/gas/uat-api'
    // baseUrl = 'https://www.jabjq.com/gas/uat-api'
    // baseUrl = 'http://192.168.0.11:8207/dev-api/'
    //baseUrl = 'http://121.37.190.48:9102/gas/uat-api/';
    //baseUrl = 'http://122.9.143.215:8080'
    //baseUrl = 'http://192.168.0.117:8201/dev-api'
    break
  case 'trial':
    //baseUrl = 'http://121.37.190.48:9102/gas/uat-api/';
    baseUrl = 'https://www.jabjq.com/gas/uat-api'
    //baseUrl = 'http://192.168.0.117:8201/dev-api'
    break
  default:
    //baseUrl = 'http://121.37.190.48:9102/gas/uat-api/';
    baseUrl = 'https://www.jabjq.com/gas/uat-api'
    //baseUrl = 'http://192.168.0.117:8201/dev-api'
    break
}

export const BASE_URL = baseUrl
